package com.farm.factory;

import com.farm.AgriculturalMachine;

// 播种机
class SeedingMachine extends AgriculturalMachine {
    @Override
    public void operate(String machineName) {
        System.out.println("播种机" + machineName + "正在播种...");
    }

    @Override
    public void displayStatus(String machineName) {
        System.out.println("播种机" + machineName + "状态: 工作中, 种子剩余量: " + (int)(Math.random() * 100) + "%");
    }

    @Override
    public String getDescription() {
        return null;
    }
}
